<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:g="http://java.sun.com/jsf/composite/taglibgdawj">
 <f:metadata>
     <f:viewParam name="idAide" value="#{aideBean.idAide}" id="idAide">
         <f:convertNumber/>
     </f:viewParam>
 </f:metadata>
<h:body>

  <ui:composition template="outils/template.xhtml">

  <ui:define name="titre"><h:outputText value="#{b.editionaide}"/></ui:define>
 
   <ui:define name="centre">
        <center>
        <h:form prependId="false">
        <div id="boite">
        <div class="formulaire">
            <div class="titreformulaire"><h:outputText value="#{b.editionaide}"/>&nbsp;<span class="alerte"><h:outputText value="#{b.champsobligatoires}"/></span></div>
            <div id="menulien">
                <h:link outcome="aide" value="#{b.lister}">
                    <img src="images/lister.png" alt="#{b.lister}" title="#{b.lister}" border="0"/>
                </h:link><br/>
            </div>
            <p class="label"><label><h:outputText value="#{b.page}"/> *</label></p>
            <h:inputHidden value="#{aideBean.aide.idAide}"/>
            <p><h:inputText label="#{b.page}" value="#{aideBean.aide.page}" required="true" styleClass="input"/></p>
            <p style="margin-left:10px;"><g:richEditor label="#{b.contenu}" id="contenu" required="true" value="#{aideBean.aide.contenu}"/></p>
            <p><h:commandButton value="#{b.valider}" action="#{aideBean.valider}" styleClass="boutonvalider"/></p>
            </div>
        </div>
       </h:form>
       </center>
   </ui:define>

 </ui:composition>
</h:body>
</html>
